package com.example.quartztest.Job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;

/**
 * @Author: zhaojie
 * @Date: Created in 15:29 2018/5/2
 * @Description:
 * @Modified By:
 */
public class NewJob implements BaseJob {
    private static Logger _log = LoggerFactory.getLogger(NewJob.class);

    public NewJob() {

    }

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        _log.error("new job执行时间" + new Date());
    }
}
